package com.tinyshardingjdbc.tinyshardingjdbc.demo.model.tool;


import lombok.Data;

import java.util.List;

/**
 * 分页基础参数
 *
 * @Author
 * @Date 2020/04/28 16:19
 * @Wechat
 * @Email
 * @Copyright
 */
@Data
public class PageParam {


    protected Boolean searchCount;
    private Integer pageNum;
    private Integer pageSize;
    private List<SortItem> sortItemList;
    private String tableStartDate;
    private String tableEndDate;


    /**
     * 排序DTO类
     */
    @Data
    public static class SortItem {


        private Boolean isAsc;


        private String column;
    }
}
